<template>
    <el-breadcrumb separator-class="el-icon-arrow-right">
        <el-breadcrumb-item :to="{name:'Main'}">首页</el-breadcrumb-item>
        <el-breadcrumb-item v-for="(router,index) in breadcrumbList" :key="index" :to="{path:router.path}">{{router.meta.title}}</el-breadcrumb-item>
    </el-breadcrumb>
</template>

<script>
    export default {
        props:['breadcrumbList'],
    }
</script>
